package Com.amit.IO;

import java.io.FileInputStream;

public class Lab2 {

	
	public static void main(String[] args) {
		
		
		try
		{
			FileInputStream fin=new FileInputStream("C:\\Users\\NETA JEE\\Desktop\\amit.txt");
			int i;
			
			while((i=fin.read())!=-1)
			
				System.out.println((char)i);
			
			
			fin.close();
		}
		catch (Exception e) {
			
			System.out.println(e);
			
		}
	}

}
